using System;
using PingPong.Generic;
namespace PingPong.GameEngine.Components
{
	public interface IScorable<T>
	{
		#region Properties

		/// <summary>
		/// Gets the score.
		/// </summary>
		/// <value>The score.</value>
		Score Score { get; }

		#endregion
		
		#region Methods

		/// <summary>
		/// Sets the score.
		/// </summary>
		/// <returns>The score.</returns>
		/// <param name="score">Score.</param>
		T SetScore(Score score);

		#endregion
	}
}

